CC      = cc
MV      = mv
LFLAGS  = -s 
BASINC	= -I/usr/local/include/hiredis
CFLAGS  = -c -g $(BASINC)

OBJS	= Tree.o DecTree.o TrainData.o Config.o PreProc.o Calc.o Cluster.o

ALL		=$(OBJS) DecTree

all: $(ALL)

.c.o :
	$(CC) $(CFLAGS) $<

DecTree:
	$(CC) -o $@ -lm -lhiredis $(OBJS) 

clean:
	-rm -f $(OBJS) $(ALL)

